aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTe.../[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots...
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-06-25 12:38:32 +0100
committerMichael Williamson <mike@zwobble.org>2023-06-25 12:38:32 +0100
commite139747e1593885bc90f2ae5427a6215475b76fd (patch)
tree720e6a0b754a253cbec817f04e760cb484451f97 /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
parentbb0029571483cdb4359359c7f978fed62976c891 (diff)
Support globals in WASM binary format
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected15
1 files changed, 15 insertions, 0 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
new file mode 100644
index 00000000..db3a53e3
--- /dev/null
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -0,0 +1,15 @@
+
+module.wasm: file format wasm 0x1
+
+Section Details:
+
+Global[2]:
+ - global[0] i32 mutable=1 - init i32=7
+ - global[1] i64 mutable=0 - init i64=9
+Custom:
+ - name: "name"
+Custom:
+ - name: "linking"
+ - symbol table [count=0]
+
+Code Disassembly: